function organ(tbl){
	if(user()==null){
		attr("_httpurl","login?goto=users/");
		return null;
	}
	var cnd=Cnd.where("uid","=",user().id).and("price",">",0).and("dlpay","=",0)
	if(!isEmpty(tbl.status)){
		cnd.and("status","=",tbl.status)
	}
	if(!isEmpty(tbl.dlpay)){
		cnd.and("dlpay","=",tbl.dlpay)
	}
	var list=$list("orders",cnd)
	attr("organ",$fetch("organ",Cnd.where("id","=",user().organ_id)));
	return list;
}